package com.devops.admin.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.devops.admin.model.KafkaTopic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.devops.admin.po.KafkaTopicPo;
import com.devops.admin.vo.KafkaTopicVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Dell
* @description 针对表【dos_kafka_topic】的数据库操作Mapper
* @createDate 2023-05-17 15:09:47
* @Entity com.devops.admin.po.DosKafkaTopic
*/
@Mapper
public interface KafkaTopicMapper extends BaseMapper<KafkaTopic> {

    List<KafkaTopicVo> selectKafkaTopicPage(@Param("param") KafkaTopicPo kafkaTopicPo, Page<KafkaTopicPo> page);

    List<KafkaTopicVo> selectKafkaTopicByProjectId(@Param("projectId") Integer projectId);

    KafkaTopicVo selectKafkaTopicVoById(@Param("topicId") Integer topicId);
}




